#include "CameraSettingsManagerSingleton.h"

//================================================
//================================================
QSharedPointer<CameraSettingsManagerSingleton> CameraSettingsManagerSingleton::instance;
//================================================
CameraSettingsManagerSingleton::CameraSettingsManagerSingleton(QObject *parent) :
    QObject(parent){
}
//================================================
CameraSettingsManagerSingleton *CameraSettingsManagerSingleton::getInstance(){
    if(CameraSettingsManagerSingleton::instance.isNull()){
        QSharedPointer<CameraSettingsManagerSingleton> localInstance(new CameraSettingsManagerSingleton);
        CameraSettingsManagerSingleton::instance = localInstance;
    }
    CameraSettingsManagerSingleton *pointer = CameraSettingsManagerSingleton::instance.data();
    return pointer;
}
//================================================
//================================================
void CameraSettingsManagerSingleton::setLastCameraDevice(const QByteArray &lastCameraDevice){
}
//================================================
QByteArray CameraSettingsManagerSingleton::getLastCameraDevice(){
    QByteArray lastCameraDevice;
    return lastCameraDevice;
}
//================================================
//================================================
